package com.chengyu.core.mapper;

import com.chengyu.core.model.PmsServicesSku;
import com.chengyu.core.model.PmsServicesSkuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmsServicesSkuMapper {
    long countByExample(PmsServicesSkuExample example);

    int deleteByExample(PmsServicesSkuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PmsServicesSku record);

    int insertSelective(PmsServicesSku record);

    List<PmsServicesSku> selectByExample(PmsServicesSkuExample example);

    PmsServicesSku selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PmsServicesSku record, @Param("example") PmsServicesSkuExample example);

    int updateByExample(@Param("record") PmsServicesSku record, @Param("example") PmsServicesSkuExample example);

    int updateByPrimaryKeySelective(PmsServicesSku record);

    int updateByPrimaryKey(PmsServicesSku record);
}